package com.qf.shop.service;

import com.qf.shop.entity.User;

public interface UserService {
    //验证用户名
    User checkUsername(String username);
    //注册
    int register(User user);
    //激活
    int activeUser(String email, String code);
    //登录
    User loginUser(String username, String password);

}
